import marquee from '@/components/base/marquee/marquee'
import multiList from '@/components/base/multi-list/multi-list'
import scroll from '@/components/base/scroll/scroll'
import scrollContainer from '@/components/base/scroll-container/scroll-container'
import msg from '@/components/base/msg/msg'

/**
 * 定义全局通用组件
 *  1.文字滚动组件
 *  2.列表组件
 *  3.滚动组件
 *  4.封装的滚动组件
 *  5.消息提示组件
 * @type {{install: obj.install}}
 */
const obj = {
  install: function (Vue) {
    Vue.component('VMarquee', marquee)
    Vue.component('VMultiList', multiList)
    Vue.component('VScroll', scroll)
    Vue.component('VScrollContainer', scrollContainer)
    Vue.component('VMsg', msg)
  }
}
export default obj
